import Send, { Proxy } from "@/common/http";



export function findSector (data) {
    return Send({
        url: Proxy("/api/sector/find"),
        method: "get",
        data
    })
}

export function findSectorWithNews (data) {
    return Send({
        url: Proxy("/api/sector/findWithNews"),
        method: "get",
        data
    })
}

export function getNews(data){
    return Send({
        url: Proxy("/api/sector/getNews"),
        method: "get",
        data:{
            code: data
        }
    })
}